package com.share.design.visit.demo01;

/**
 * @author caifan
 * @since 2022/11/12
 */
public class LinuxRouterVisitor implements RouterVistor{
    @Override
    public void visit(DLinkRouter router) {
        System.out.println("DLinkRouter linux visit success");
    }

    @Override
    public void visit(TPLinkRouter router) {
        System.out.println("TPLinkRouter linux visit success");
    }
}
